package com.youbug.system.service;

import com.youbug.system.entity.Dictionary;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 字典表 服务类
 * </p>
 *
 * @author youbug
 * @since 2023-02-12
 */
public interface IDictionaryService extends IService<Dictionary> {

    List<Dictionary> listByTypeCode(String typeCode);

    Dictionary getOneByTypeAndCode(String typeCode, String itemCode);
}
